package de.uni_saarland.coli.doclists.document.iterator;

import de.uni_saarland.coli.doclists.document.ITextDocument;


/**
 * 
 * @author stefan
 *
 * IDocumentIterator implements an Iterator over <code>IDocument</code>s
 */
public interface IDocumentIterator {
	
	/**
	 * Check weather the Iterator has a next Document  
	 * 
	 * @return A <code>boolean</code>: <br>
	 * true : if next Document exist <br>
	 * false : otherwise
	 */
	boolean hasNext();
	
	/**
	 * Get the next document.
	 * @return A <code>IDocument</code> representing the next doc.
	 */
	ITextDocument next();
}
